A stock will be trading sideways & then suddenly it will "gap away" from the cost pattern. There's main types of stock cost gaps: breakaway-gap, continuation-gap, common-gap & exhaustion-gap. Each of these happens at different stages of a stock cost move.
Gap up is a condition where stock opens higher than half a percentage above the given recommended price for a stock to be bought and vice versa for sell call.